#ifndef __EBYET_H
#define __EBYET_H

#define M0_SET      do{ P51 = 1; }while(0)
#define M0_RESET    do{ P51 = 0; }while(0)
#define M1_SET      do{ P52 = 1; }while(0)
#define M1_RESET    do{ P52 = 0; }while(0)

void Ebyte_Init(void);
void Ebyet_Sleep(void);
void Ebyet_Wakeup(void);
void Ebyte_Port_Init(void);
void Uart1_Recv_Handle(void);
void Tran_Order(uint8_t header);
void Ebyet_Set_Address(void);
#endif /* __EBYET_H */
